package com.lagou.Student;

import java.io.Serializable;

public class ClientAddStudent implements Serializable {
    private static final long serialVersionUID = -8262357427149087985L;
    private String studentUserName;
    private String studentPassword;
    private Student student;
    public ClientAddStudent(Student student){
        this.student=student;
    }

    public ClientAddStudent() {
    }

    public ClientAddStudent(String studentUserName, String studentPassword) {
        this.studentUserName = studentUserName;
        this.studentPassword = studentPassword;
    }


    public String getStudentUserName() {
        return studentUserName;
    }

    public void setStudentUserName(String studentUserName) {
        this.studentUserName = studentUserName;
    }

    public String getStudentPassword() {
        return studentPassword;
    }

    public void setStudentPassword(String studentPassword) {
        this.studentPassword = studentPassword;
    }

    @Override
    public String toString() {
        return "[用户名:"+getStudentUserName()+",密码:"+getStudentPassword()+"]";
    }
}
